#ifndef __LS2X_H
#define __LS2X_H

#define LS2X_APB_BASE			0x1ff00000
#define LS2X_APB_DMA_BASE		0x1fe10c00
#define LS2X_SATA_PHY_CFG		0x1fe10570

#define LS2K500_GENERAL_CFG0	0x1fe10100
#define LS2X_PCIE0_CONF0		0x1fe10550
#define LS2X_PCIE0_CONF1		0x1fe10558
#define LS2X_PCIE0_PHY			0x1fe10560

#define LS2X_PCIE0_PORT0_CFG	0x16000000
#define LS2X_PCIE0_PORT1_CFG	0x16001000
#define LS2X_TYPE0_ADDR			0x16800000
#define LS2X_TYPE1_ADDR			0x16800000

#define LS2X_MUX_BASE			0x1fe10490
#define LS2X_PLL_BASE			0x1fe10400
#define LS2X_PIXPLL_BASE		0x1fe10418
#define LS2X_GPIO_BASE			0x1fe10430
#define LS2X_GPIO_CFG_BASE		0x1fe10490

#define LS2X_NAND_BASE			0x1ff58000
#define LS2X_SPI0_BASE			0x1fd00000
#define LS2X_I2C0_BASE			0x1ff48000
#define LS2X_I2C1_BASE			0x1ff48800
#define LS2X_I2C2_BASE			0x1ff49000
#define LS2X_I2C3_BASE			0x1ff49800
#define LS2X_I2C4_BASE			0x1ff4a000
#define LS2X_I2C5_BASE			0x1ff4a800

#define LS2X_DC_BASE			0x1f010000
#define LS2X_DC0_BASE			0xbf011240
#define LS2X_DC1_BASE			0xbf011250
#define LS2X_CURSOR_BASE		0xbf011520

#define LS2X_SDIO_BASE			0x1ff64000

#define LS2X_XHCI_BASE			0x1f060000

#define DDR_CONF_SPACE		0x0ff00000

#define UART0_OFF	0x0
#define ACPI_OFF	0x6c000

#include "regs-clk-ls2k500.h"
#include "pm.h"

#endif
